package com.neusoft.neuiotms.common.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.common.dto.DictionaryTypeDTO;

public interface DictionaryTypeService {

    List<DictionaryTypeDTO> findAll(Searchable searchable);

    Page<DictionaryTypeDTO> search(Pageable pageable, Searchable searchable);

    DictionaryTypeDTO create(DictionaryTypeDTO dto);

    DictionaryTypeDTO update(Long id, DictionaryTypeDTO dto);

    DictionaryTypeDTO details(Long id);

    void delete(Long id);

}
